import request from "@/utils/request";

// 物流商账期配置-列表
export const bpConfigList = (data) =>
  request({
    url: `/logistics/bp-config/index`,
    method: "post",
    data,
  })
// 物流商账期配置-详情
export const bpConfigDetail = (params) =>
  request({
    url: `/logistics/bp-config/detail`,
    method: "get",
    params
  })
// 物流商账期配置-创建
export const bpConfigCreate = (data) =>
  request({
    url: `/logistics/bp-config/create`,
    method: "post",
    data
  })
// 物流商账期配置-编辑
export const bpConfigUpdate = (data) =>
  request({
    url: `/logistics/bp-config/update`,
    method: "post",
    data
  })
// 物流商账期配置-删除
export const bpConfigDelete = (data) =>
  request({
    url: `/logistics/bp-config/delete`,
    method: "post",
    data
  })
// 物流商账期配置-启用禁用
export const bpConfigStatus = (data) =>
  request({
    url: `/logistics/bp-config/status`,
    method: "post",
    data
  })


